Ext.define('cfbose.view.form.sampleform', {
	extend: 'Ext.form.Panel',
	layout: 'vbox',
	title: 'Leave Form',
	alias: 'widget.thesampleform',
	
	initComponent: function() {
		
		this.items = [{
			xtype: 'textfield',
			fieldLabel: 'Name',
			name: 'name',
			cls: 'field-margin'
		},{
			xtype: 'datefield',
			fieldLabel: 'Future Date',
			name: 'futuredate',
			cls: 'field-margin'
		},{
			xtype: 'numberfield',
			fieldLabel: 'Favorite Number',
			name: 'favnumber',
			cls: 'field-margin'
		}];
		
		
		this.callParent(arguments);
	}
});